window.onload = initplayer;

jQuery(document).ready(function($) {
  $('a[rel*=facebox]').facebox()
})

function HideContent(d) {
	if(d.length < 1) { 
		return; 
	}
	document.getElementById(d).style.display = "none";
}

function ShowContent(d) {
	if(d.length < 1) { 
		return; 
	}
	document.getElementById(d).style.display = "block";
}

function ReverseContentDisplay(d) {
	if(d.length < 1) { 
		return; 
	}
	if(document.getElementById(d).style.display == "none") { 
		document.getElementById(d).style.display = "block"; 
	} else { 
		document.getElementById(d).style.display = "none"; 
	}
}

function ReverseTagsDisplay(d,id,thisAuthor) {
	if(d.length < 1) { 
		return; 
	}
	if(document.getElementById(d).style.display == "none") { 
		getTags(id,thisAuthor);
		document.getElementById(d).style.display = "block"; 
	} else { 
		document.getElementById(d).style.display = "none"; 
	}
}